//
//  ETVCdepositTableViewCell.m
//  Jyxt
//
//  Created by 宫璞 on 2017/9/11.
//  Copyright © 2017年 DaLian Rental Housing Management. All rights reserved.
//

#import "ETVCdepositTableViewCell.h"
#import "Hcolors.h"
@implementation ETVCdepositTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.depositLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, 10, 80, 24)];
        self.depositLabel.textColor = COLOR_NEW_153;
        self.depositLabel.text = @"押金";
        self.depositLabel.font = [UIFont systemFontOfSize:15];
        [self addSubview:self.depositLabel];
        
        self. detailDepositLabel = [[UILabel alloc]initWithFrame:CGRectMake(self.depositLabel.frame.origin.x + self.depositLabel.frame.size.width + 10, 10, 80, 24)];
        self.detailDepositLabel.font = [UIFont systemFontOfSize:15];
        [self addSubview:self.detailDepositLabel];
    }
    return self;
}

- (void)setContent:(McontractDetailModel *)depositSection{
    self.detailDepositLabel.text = [NSString stringWithFormat:@"%ld元",depositSection.depositAmt];
}

@end
